﻿@model IEnumerable<RepertorySystem.Models.AccountList>
@using PagedList.Mvc;
<link href="~/Content/PagedList.css" rel="stylesheet" />
@Scripts.Render("~/bundles/jquery")
@{
    ViewBag.Title = "统计数据";
}
@{
    //获取端口
    IServiceProvider provider = (IServiceProvider)HttpContext.Current;
    HttpWorkerRequest request = (HttpWorkerRequest)provider.GetService(typeof(HttpWorkerRequest));
    var port = HttpContext.Current.Request.Url.Port;
}
<h2>统计详情</h2>

@*<p>
        @Html.ActionLink("Create New", "Create")
    </p>*@





<table class="table">
    <tr>
        <th>
            ID
        </th>
        <th>
           时间
        </th>
        <th>
            收支
        </th>
       
    </tr>
    @if (ViewBag.content == null) {
        <tr>暂无数据！</tr>
    } else {
        foreach (var item in ViewBag.content) {

            <tr>
                <td>
                    @item.Id
                </td>
              
                <td>
                    @item.time
                </td>

                <td>
                    @item.sumPrice
                </td>
              
            </tr>
        }
    }
   
</table>
@Html.ActionLink("返回","Index","AccountLists")


